import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import CodeDiff from '@/views/codediff.vue'
import CodeDiffNew from '@/views/codediff-new.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/codediff',
      name: 'CodeDiff',
      component: CodeDiff
    },
    {
      path: '/codediff-new',
      name: 'CodeDiffNew',
      component: CodeDiffNew
    }
  ]
})
